<form class="layui-form model-form" action="" style="width:80%;">
	<input name="id" id="id" type="hidden" value="{$info.id|default=0}">
	<div class="layui-form-item">
		<label class="layui-form-label">文章封面：</label>
		{:W('upload/image',array('cover|封面|90x90|建议上传尺寸450x450|450x450||10 * 1024',isset($info['cover_url']) ? $info['cover_url'] : ""))}
	</div>
	<div class="layui-form-item" style="width: 500px;">
		<label class="layui-form-label">文章标题：</label>
		<div class="layui-input-block">
			<input name="title" value="{$info.title|default=''}" lay-verify="title" autocomplete="off" placeholder="请输入文章标题(最少10个字)" class="layui-input" type="text">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">文章分类：</label>
		{:W('itemCate/select',array(isset($info['item_id']) ? $info['item_id'] : 0,isset($info['cate_id']) ? $info['cate_id'] : 0,2))}
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">文章摘要：</label>
		<div class="layui-input-block">
			<textarea name="guide" placeholder="请输入文章摘要" lay-verify="required" class="layui-textarea">{$info.guide|default=''}</textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">文章图集：</label>
		<div class="layui-input-block">
			{:W('upload/album',array('imgs|图集|90x90|建议上传尺寸450x450|450x450||10 * 1024',isset($info['imgsList']) ? $info['imgsList'] : []))}
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">文章内容：</label>
		<div class="layui-input-block">
			<textarea name="content" id="content" lay-verify="required" class="layui-textarea">{$info.content|default=''}</textarea>
			{:W('editor/kindeditor',array('default','content','100%',350))}
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">文章状态：</label>
			<div class="layui-input-inline">
				{:W('common/switchCheck',array(status,'显示|隐藏',$info['status'] ? $info['status'] : 1))}
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">是否置顶：</label>
			<div class="layui-input-inline">
				{:W('common/switchCheck',array(is_top,'置顶|不置顶',$info['is_top'] ? $info['is_top'] : 2))}
			</div>
		</div>
	</div>
	{:W('common/submit',array('submit|立即保存,close|关闭'))}
</form>
